package project.model;

import org.springframework.data.annotation.Id;

import javax.annotation.Generated;

public class Question {

    private Integer tid;
    private Integer uid;
    private String title;
    private String create_time;
    private String update_time;

    public Question() {
    }

    public Question(Integer tid, Integer uid, String title, String create_time, String update_time) {
        this.tid = tid;
        this.uid = uid;
        this.title = title;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
